/*
 * @Description: 
 * @Author: @yangwenshan
 * @since: 2021-05-17 08:54:48
 * @LastAuthor: @yangwenshan
 * @lastTime: 2021-05-17 11:17:47
 */
import request from '@/utils/request'

const api = {
  bar: '/manager/index/columnar',
  statistics: '/manager/index/statistics',
}

export function getBarData (parameter) {
  return request({
    url: api.bar,
    method: 'get',
    params: parameter
  })
}

export function getStatisticsData () {
  return request({
    url: api.statistics,
    method: 'get',
  })
}